package com.hCode.CnSmart.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
* @author Xiao
* @since 2020-11-10
*/
@ApiModel(value ="")
@Data
@Accessors(chain = true)
@JsonInclude(value = JsonInclude.Include.NON_DEFAULT)
public class SysRole extends Model<SysRole> {

private static final long serialVersionUID = 1L;

            private Integer id;

    private String name;



@Override
protected Serializable pkVal() {
    return this.id;
}
}